<template>
  <view>
    <uni-easyinput type="text" placeholder="请输入姓名" @input="onInput" />
  </view>
</template>

<script>
export default {
  methods: {
    onInput(value) {
      this.$emit("update:value", value);
    },
  },
};
</script>